export default {
  mdctrlActiveMode: 2,
  xdataControlName: 'treegridex',
  loadDefault: true,
  deviewCodeName: 'TreeGridEx_actioncol',
  deviewId: '45e7a388ca941f6510712d19734e3497',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '树表格增强_操作列',
  codeName: 'master_tree_grid_ex_actioncol',
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'TreeGridExView',
      id: 'engine',
    },
  ],
  appViewRefs: [
    {
      realOpenMode: 'POPUPMODAL',
      realTitle: '主数据编辑视图',
      refAppViewId: 'web.master_edit_view',
      name: 'NEWDATA',
      id: 'newdata',
    },
    {
      realOpenMode: 'POPUPMODAL',
      realTitle: '主数据编辑视图',
      refAppViewId: 'web.master_edit_view',
      name: 'EDITDATA',
      id: 'editdata',
    },
  ],
  controls: [
    {
      detreeColumns: [
        {
          align: 'CENTER',
          caption: '名称',
          codeName: 'name',
          columnType: 'DEFGRIDCOLUMN',
          width: 250,
          widthUnit: 'px',
          id: 'name',
        },
        {
          align: 'CENTER',
          caption: '编码',
          codeName: 'code',
          columnType: 'DEFGRIDCOLUMN',
          width: 200,
          widthUnit: 'px',
          id: 'code',
        },
        {
          align: 'CENTER',
          caption: '状态',
          codeName: 'status',
          columnType: 'DEFGRIDCOLUMN',
          width: 100,
          widthUnit: 'STAR',
          id: 'status',
        },
        {
          align: 'CENTER',
          caption: '操作',
          codeName: 'treecol2',
          columnType: 'UAGRIDCOLUMN',
          width: 350,
          widthUnit: 'PX',
          id: 'treecol2',
        },
      ],
      detreeNodeRSs: [
        {
          childDETreeNodeId: 'node',
          parentAppDEFieldId: 'parent_id',
          parentDER1N: {
            pickupDEFName: 'PARENT_ID',
            codeName: 'parent',
            dertype: 'DER1N',
            logicName: '父项',
            orderValue: 100,
            serviceCodeName: 'parent',
            name: 'DER1N_CATEGORY_CATEGORY_PARENT_ID',
            id: 'mock.category.der1n_category_category_parent_id',
          },
          parentDETreeNodeId: 'node',
          parentValueLevel: 1,
          searchMode: 3,
          id: '区域数据（node）-区域数据（node）',
        },
        {
          childDETreeNodeId: 'node',
          parentAppDEFieldId: 'parent_id',
          parentDER1N: {
            pickupDEFName: 'PARENT_ID',
            codeName: 'parent',
            dertype: 'DER1N',
            logicName: '父项',
            orderValue: 100,
            serviceCodeName: 'parent',
            name: 'DER1N_CATEGORY_CATEGORY_PARENT_ID',
            id: 'mock.category.der1n_category_category_parent_id',
          },
          parentDETreeNodeId: 'root',
          parentValueLevel: 1,
          searchMode: 3,
          name: '默认根节点（ROOT）-区域数据（node）',
          id: '默认根节点（root）-区域数据（node）',
        },
      ],
      detreeNodes: [
        {
          nodeValue: '86',
          text: '默认根节点',
          nodeType: 'ROOT',
          treeNodeType: 'STATIC',
          hasDETreeNodeRSs: true,
          expanded: true,
          rootNode: true,
          name: '默认根节点',
          id: 'root',
        },
        {
          dataSourceType: 'DEDATASET',
          idAppDEFieldId: 'id',
          leafFlagAppDEFieldId: 'leaf',
          appDEDataSetId: 'fetch_default',
          textAppDEFieldId: 'name',
          nodeType: 'node',
          appDataEntityId: 'web.region',
          detreeNodeColumns: [
            {
              clconvertMode: 'NONE',
              dataItemName: 'code',
              appDEFieldId: 'code',
              valueType: 'SIMPLE',
              codeName: 'code',
              columnType: 'DEFGRIDCOLUMN',
              noPrivDisplayMode: 1,
              detreeColumnId: 'code',
              id: 'code',
            },
            {
              clconvertMode: 'NONE',
              dataItemName: 'name',
              appDEFieldId: 'name',
              valueType: 'SIMPLE',
              codeName: 'name',
              columnType: 'DEFGRIDCOLUMN',
              noPrivDisplayMode: 1,
              detreeColumnId: 'name',
              id: 'name',
            },
            {
              clconvertMode: 'FRONT',
              dataItemName: 'status',
              appCodeListId: 'web.mock__cl_status',
              appDEFieldId: 'status',
              valueType: 'SIMPLE',
              codeName: 'status',
              columnType: 'DEFGRIDCOLUMN',
              noPrivDisplayMode: 1,
              detreeColumnId: 'status',
              id: 'status',
            },
            {
              deuiactionGroup: {
                uiactionGroupDetails: [
                  {
                    actionLevel: 100,
                    afterItemType: 'NONE',
                    beforeItemType: 'NONE',
                    buttonStyle: 'DEFAULT',
                    caption: '查看',
                    detailType: 'DEUIACTION',
                    uiactionId: 'view@region',
                    showCaption: true,
                    showIcon: true,
                    sysImage: {
                      cssClass: 'fa fa-file-text',
                      glyph: 'xf15c@FontAwesome',
                    },
                    id: 'uffc1d40',
                  },
                  {
                    actionLevel: 100,
                    afterItemType: 'NONE',
                    beforeItemType: 'NONE',
                    buttonStyle: 'DEFAULT',
                    capLanguageRes: {
                      lanResTag: 'TBB.TEXT.*.REMOVE',
                    },
                    caption: '删除',
                    detailType: 'DEUIACTION',
                    uiactionId: 'gridview_removeaction',
                    tooltipLanguageRes: {
                      lanResTag: 'TBB.TOOLTIP.*.REMOVE',
                    },
                    showCaption: true,
                    showIcon: true,
                    sysImage: {
                      cssClass: 'fa fa-remove',
                      glyph: 'xf00d@FontAwesome',
                    },
                    id: 'u207651b',
                  },
                  {
                    actionLevel: 100,
                    afterItemType: 'NONE',
                    beforeItemType: 'NONE',
                    buttonStyle: 'DEFAULT',
                    capLanguageRes: {
                      lanResTag: 'TBB.TEXT.*.NEW',
                    },
                    caption: '新建',
                    detailType: 'DEUIACTION',
                    uiactionId: 'gridview_newaction',
                    tooltipLanguageRes: {
                      lanResTag: 'TBB.TOOLTIP.*.NEW',
                    },
                    showCaption: true,
                    showIcon: true,
                    sysImage: {
                      cssClass: 'fa fa-file-text-o',
                      glyph: 'xf0f6@FontAwesome',
                    },
                    id: 'u2a08509',
                  },
                  {
                    actionLevel: 100,
                    afterItemType: 'NONE',
                    beforeItemType: 'NONE',
                    buttonStyle: 'DEFAULT',
                    capLanguageRes: {
                      lanResTag: 'TBB.TEXT.*.EDIT',
                    },
                    caption: '编辑',
                    detailType: 'DEUIACTION',
                    uiactionId: 'gridview_editaction',
                    tooltipLanguageRes: {
                      lanResTag: 'TBB.TOOLTIP.*.EDIT',
                    },
                    showCaption: true,
                    showIcon: true,
                    sysImage: {
                      cssClass: 'fa fa-edit',
                      glyph: 'xf044@FontAwesome',
                    },
                    id: 'ue9b405a',
                  },
                ],
                appDataEntityId: 'web.region',
                uniqueTag: 'region__A76813bec951d6186c9',
                name: '树表格增强操作列',
                id: 'a76813bec951d6186c9',
              },
              codeName: 'treecol2',
              columnType: 'UAGRIDCOLUMN',
              noPrivDisplayMode: 1,
              detreeColumnId: 'treecol2',
              id: 'treecol2',
            },
          ],
          detreeNodeDataItems: [
            {
              clconvertMode: 'NONE',
              appDEFieldId: 'code',
              detreeColumnId: 'code',
              valueType: 'SIMPLE',
              dataType: 25,
              id: 'code',
            },
            {
              clconvertMode: 'NONE',
              appDEFieldId: 'name',
              detreeColumnId: 'name',
              valueType: 'SIMPLE',
              dataType: 25,
              id: 'name',
            },
            {
              clconvertMode: 'FRONT',
              frontCodeListId: 'web.mock__cl_status',
              appDEFieldId: 'status',
              detreeColumnId: 'status',
              valueType: 'SIMPLE',
              dataType: 9,
              id: 'status',
            },
            {
              clconvertMode: 'NONE',
              detreeColumnId: 'treecol2',
              valueType: 'SIMPLE',
              dataType: 25,
              id: 'treecol2',
            },
          ],
          detreeNodeRVs: [
            {
              refAppViewId: 'web.region_edit_view',
              id: 'newdata',
            },
            {
              refAppViewId: 'web.region_edit_view',
              id: 'editdata',
            },
          ],
          treeNodeType: 'DE',
          hasDETreeNodeRSs: true,
          enableEditData: true,
          enableNewData: true,
          enableRemoveData: true,
          enableViewData: true,
          name: '区域数据',
          id: 'node',
        },
      ],
      treeGridMode: 1,
      outputIconDefault: true,
      navViewPos: 'NONE',
      autoLoad: true,
      showBusyIndicator: true,
      appViewLogics: [
        {
          logicTrigger: 'CUSTOM',
          logicType: 'APPUILOGIC',
          builtinAppUILogic: {
            actionAfterWizard: 'DEFAULT',
            newDataAppView: {
              openMode: 'POPUPMODAL',
              refAppViewId: 'web.region_edit_view',
            },
            appUILogicRefViews: [
              {
                openMode: 'POPUPMODAL',
                refAppViewId: 'web.region_edit_view',
              },
            ],
            builtinLogic: true,
            logicType: 'PREDEFINED',
            viewLogicType: 'APP_NEWDATA',
            id: '新建数据',
          },
          builtinLogic: true,
          id: 'node_newdata',
        },
        {
          logicTrigger: 'CUSTOM',
          logicType: 'APPUILOGIC',
          builtinAppUILogic: {
            openDataAppView: {
              openMode: 'POPUPMODAL',
              refAppViewId: 'web.region_edit_view',
            },
            editMode: true,
            appUILogicRefViews: [
              {
                openMode: 'POPUPMODAL',
                refAppViewId: 'web.region_edit_view',
              },
            ],
            builtinLogic: true,
            logicType: 'PREDEFINED',
            viewLogicType: 'APP_OPENDATA',
            id: '打开数据',
          },
          builtinLogic: true,
          id: 'node_opendata',
        },
      ],
      codeName: 'tree_grid_ex_actioncol_tree_grid',
      controlType: 'TREEGRIDEX',
      logicName: '树表格增强_操作列_树表格',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'treegridex',
      },
      modelId: 'a1d274bde767631faff74826c8cb4f80',
      modelType: 'PSDETREEGRIDEX',
      name: 'treegridex',
      id: 'web.master.tree_grid_ex_actioncol_tree_grid',
    },
    {
      xdataControlName: 'treegridex',
      codeName: 'tree_grid_ex_actioncol_toolbar',
      controlType: 'TOOLBAR',
      logicName: '树表格增强_操作列_工具栏',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'toolbar',
      },
      modelId: '2fae2817b26d5a76ebe53364e81b6e5a',
      modelType: 'PSDETOOLBAR',
      name: 'toolbar',
      id: 'tree_grid_ex_actioncol_toolbar',
    },
    {
      groupMode: 'SINGLE',
      controlType: 'SEARCHBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'searchbar',
      },
      id: 'searchbar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '树表格增强_操作列',
      codeName: 'tree_grid_ex_actioncol_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'tree_grid_ex_actioncol_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDETREEGRIDEXVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '树表格增强_操作列',
  viewStyle: 'DEFAULT',
  viewType: 'DETREEGRIDEXVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '938f4e8f39fefcedaf4190b86c6c0919',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERTreeGridEx_actioncol',
  id: 'web.master_tree_grid_ex_actioncol',
};
